'use strict'
// 加载依赖
const router = require('koa-router')()
const routerPermission = require('middleware/routePermission')
const articleController = require('controllers/article/article')
const config = require('@config/config')
router

/**
 * @description: 用户注册
 */
  .post(`${config.api}/article/add`, routerPermission.checkHeader, articleController.add)

module.exports = router
